//
//  ActiDataBaseHandle.h
//  UI_元旦豆瓣半完整版
//
//  Created by dllo on 16/1/8.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
@class ActivityModel;
@class MovieModel;
@class RegisterModel;

@interface MyDataBaseHandle : NSObject
{
    sqlite3 *dbPoint;
    
}

/** 单例 */
+ (MyDataBaseHandle *)sharedDataBaseHandle;

- (void)openDB;

- (void)createTable;

- (void)insertModel:(ActivityModel *)model;

- (void)insertMovieModel:(MovieModel *)model;

- (void)insertRegistModel:(RegisterModel *)model;

- (NSMutableArray *)selectTable;

- (NSMutableArray *)selectTableMovie;

- (NSMutableArray *)selectTableRegist;

- (void)deleteActiModel:(ActivityModel *)model;

- (void)deleteMovieModel:(MovieModel *)model;




@end
